package xyz.hubery.enums;

import lombok.Getter;

/**
 * 订单状态枚举类
 */
@Getter
public enum OrderStatus {

    OPEN(0,"未成交"),
    COMPLETED(1,"已成交"),
    CANCELED(2,"已取消"),
    CANCELING(3,"取消中"),
    ERROR(4,"异常订单"),
    CREATING(5,"创建中"),
    CRETED_FAILED(6,"创建失败")
    ;


    private int code;

    private String desc;

    OrderStatus(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }




}
